package staticclass;

import org.apache.hadoop.yarn.webapp.hamlet.Hamlet;

/**
 * @author cyt
 * @create 2020-09-16 下午 8:12
 */
public class StaticClassTest {
    public static class inner {
        public Integer age;
        public String name;

        public inner(Integer age, String name) {
            this.age = age;
            this.name = name;
        }

        public void printInfo() {
            System.out.println(age + "->" + name);
        }
    }
}

class Test {
    public static void main(String[] args) {
        StaticClassTest.inner inner = new StaticClassTest.inner(1, "test");
        inner.printInfo();

        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MAX_VALUE + 1);
        /**
         * 2147483647
         * -2147483648
         */
    }
}
